package com.yunban.project.api.text_check.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunban.project.api.text_check.domain.TextCorrectTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * @author 63231
 */
@Mapper
public interface TextCorrectTaskMapper extends BaseMapper<TextCorrectTask> {
    @Update("update text_correct_task t set t.finished = 1 where t.correct_task_id = #{taskId}")
    int finishTask(String taskId);
}
